﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace psafth.FSR.Lapcounter
{
    static class Program
    {
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main()
        {
            Application.EnableVisualStyles();
            Application.SetCompatibleTextRenderingDefault(false);
            
            //	show the splash form
            Splasher.Show();

            //	process application startup
            DoStartup();

            //	if the form is still shown...
            Splasher.Close();
        }

        static void DoStartup()
        {
            //	do whatever you need to do
            MainForm f = new MainForm();
            Application.Run(f);
			
        }

    }
}
